<div class="container content">
    <div class="trong-content">
	<div class="left">
	    <?php $this->renderPartial('//layouts/menu_left'); ?>
	</div><!--left-->
	<div class="center">

	    <div class="box update-account-box">
		<div class="new-mem">		    
		    <div class="title">
			Who's online now?
		    </div>
		    <?php
		    $this->widget('bootstrap.widgets.TbGridView', array(
			'id' => 'matches-grid',
			'dataProvider' => $model->searchFront('forOnline'),
			'filter' => $model,
			'columns' => array(
			    array(
				'header' => 'Avatar',
				'type' => 'raw',
				'value' => function($data) {
				    return '<img src="' . $data->getAvatarUrl('small') . '"/>';
				}
			    ),
			    array(
				'name' => 'username',
				'type' => 'raw',
				'value' => function($data) {
				    return $data->getUserName();
				}
			    ),
			    array(
				'type' => 'raw',
				'value' => function($data) {
				    return $data->getBtnSendMsg();
				}
			    ),
			    array(
				'type' => 'raw',
				'value' => function($data) {
				    return $data->getBtnChat();
				}
			    ),
			    array(
				'type' => 'raw',
				'value' => function($data) {
				    return $data->getBtnFlirt();
				}
			    )
			),
		    ));
		    ?>

		</div>		
	    </div><!--box-->

	</div><!--center-->
	<div class="right">

	    <?php $this->widget('application.widgets.leftprofile.PercentComplete') ?>
	    <?php $this->widget('application.widgets.leftprofile.Interested'); ?>

	</div><!--right-->

    </div><!--trong-content-->


</div><!--content-->
